From: Florian Müllner Date: Mon, 3 Dec 2012 15:31:50 +0000 (+0100) Subject: altTab: Rename AltTabPopup to AppSwitcherPopup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5312 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=aba46720c0e98888562516bff941204b8be10353;p=gnome-shell.git altTab: Rename AltTabPopup to AppSwitcherPopup We will add support for a window-based popup in addition to the current application-based one, so use a more descriptive name. https://bugzilla.gnome.org/show_bug.cgi?id=688913 --- diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 95f2baddd..e605fd6c7 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -20,8 +20,8 @@ const THUMBNAIL_FADE_TIME = 0.1; // seconds const iconSizes = [96, 64, 48, 32, 22]; -const AltTabPopup = new Lang.Class({ - Name: 'AltTabPopup', +const AppSwitcherPopup = new Lang.Class({ + Name: 'AppSwitcherPopup', Extends: SwitcherPopup.SwitcherPopup, _init : function() { diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index ef33fbc52..b1c33e935 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -617,7 +617,7 @@ const WindowManager = new Lang.Class({ if (this._workspaceSwitcherPopup != null) this._workspaceSwitcherPopup.destroy(); - let tabPopup = new AltTab.AltTabPopup(); + let tabPopup = new AltTab.AppSwitcherPopup(); let modifiers = binding.get_modifiers(); let backwards = modifiers & Meta.VirtualModifier.SHIFT_MASK;